import { Builder } from "./Builder";
import { Product } from "./Product";

export class Director {
    private builder: Builder;

    constructor(builder: Builder) {
        this.builder = builder;
    }

    build(): Product {
        return this.builder.build();
    }
}